package com.qf.mybatisDemo_03.dao;


import com.qf.mybatisDemo_03.entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookDao {
    List<Book> selectBatch(@Param("start") Integer start);

    Integer insert(@Param("books") List<Book> books);

    Long selectPageSize();

    List<Book> selectPage(@Param("start") Integer start,@Param("pageSize")Integer pageSize);

}
